public abstract class Fish extends Animal implements Food {
    public Fish(String name) {
        super(name);
    }

    @Override
    public void shout() {
        System.out.println("鱼");
    }

    public void eat(Food food) {
        food.getName();
    }
}
